#include<iostream>
#include<stdio.h>
using namespace std;

char letters[] = "`1234567890-=QWERTYUIOP[]\\ASDFGHJKL;'ZXCVBNM,./";

int getIndex(char c) {
   for(int i=0; i<strlen(letters); i++) 
      if(letters[i] == c)
         return i;
   return -1;
}

void read() {
   char tmp;
   int index;
   while(scanf("%c", &tmp) == 1) {
      if(tmp == '\n')
         cout << endl;
      else if(tmp == ' ')
         cout << " ";
      else {
         index = getIndex(tmp);
         cout << letters[index-1]; 
      }
   }
}

int main() {
   read();   
   return 0;
}
